import { container } from 'tsyringe';
import { ConsoleLogTransport } from './unit/logger/ConsoleTransport';
import { Logger } from './unit/logger/Logger';
import { LogLevel } from './unit/logger/LogLevel';

/**
 * 注入全局实例
 */
export function registerGlobalModules() {
  container.registerInstance(Logger, new Logger([new ConsoleLogTransport(LogLevel.Debug)]));
}
